Skip to content

fix(graphql): select text-block fields on fact and rendering rows#141

Merged
jfrench9 merged 1 commit into
mainfrom
chore/graphql-textblock-fields
Jul 19, 2026
Merged

fix(graphql): select text-block fields on fact and rendering rows#141
jfrench9 merged 1 commit into
mainfrom
chore/graphql-textblock-fields

Conversation

@jfrench9

Copy link
Copy Markdown
Member

Summary

Follow-up to #140: the regen updated the generated models but the hand-written GraphQL query documents never selected the new fields, so list_information_blocks / get_information_block / the report-package read returned narrative disclosure envelopes with text_value/fact_type/content_type silently absent. Adds the fields to all three fact selections and textValue to the rendering-row selections.

Testing

just test-all: 439 passed, ruff + format + basedpyright clean. Verified against the local backend: the policies note now round-trips its markdown through list_information_blocks.

The 0.5.2 regen added textValue/factType/contentType to the generated
envelope models, but the hand-written GraphQL query documents
(GetInformationBlock, ListInformationBlocks, report package) never
selected them — so narrative disclosure envelopes came back with the
text fields silently absent. Add the fields to all three fact
selections and textValue to the rendering-row selections.
@jfrench9
jfrench9 merged commit 15d783c into main Jul 19, 2026
1 check passed
@jfrench9
jfrench9 deleted the chore/graphql-textblock-fields branch July 19, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant